package com.bbcloud.pojo;

import java.util.Date;

public class Activity {
    private Integer id;

    private String username;

    private Integer activityid;

    private Integer userId;

    private Integer activityType;

    private String description;

    private String imageUrl;

    private Integer distance;

    private Integer speedAvg;

    private Integer speedMax;

    private Integer speedMin;

    private Integer usedTime;

    private Date createTime;

    private Date updateTime;

    private Integer status;

    private String line;

    public Activity(Integer id, String username, Integer activityid, Integer userId, Integer activityType, String description, String imageUrl, Integer distance, Integer speedAvg, Integer speedMax, Integer speedMin, Integer usedTime, Date createTime, Date updateTime, Integer status, String line) {
        this.id = id;
        this.username = username;
        this.activityid = activityid;
        this.userId = userId;
        this.activityType = activityType;
        this.description = description;
        this.imageUrl = imageUrl;
        this.distance = distance;
        this.speedAvg = speedAvg;
        this.speedMax = speedMax;
        this.speedMin = speedMin;
        this.usedTime = usedTime;
        this.createTime = createTime;
        this.updateTime = updateTime;
        this.status = status;
        this.line = line;
    }

    public Activity() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username == null ? null : username.trim();
    }

    public Integer getActivityid() {
        return activityid;
    }

    public void setActivityid(Integer activityid) {
        this.activityid = activityid;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getActivityType() {
        return activityType;
    }

    public void setActivityType(Integer activityType) {
        this.activityType = activityType;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description == null ? null : description.trim();
    }

    public String getImageUrl() {
        return imageUrl;
    }

    public void setImageUrl(String imageUrl) {
        this.imageUrl = imageUrl == null ? null : imageUrl.trim();
    }

    public Integer getDistance() {
        return distance;
    }

    public void setDistance(Integer distance) {
        this.distance = distance;
    }

    public Integer getSpeedAvg() {
        return speedAvg;
    }

    public void setSpeedAvg(Integer speedAvg) {
        this.speedAvg = speedAvg;
    }

    public Integer getSpeedMax() {
        return speedMax;
    }

    public void setSpeedMax(Integer speedMax) {
        this.speedMax = speedMax;
    }

    public Integer getSpeedMin() {
        return speedMin;
    }

    public void setSpeedMin(Integer speedMin) {
        this.speedMin = speedMin;
    }

    public Integer getUsedTime() {
        return usedTime;
    }

    public void setUsedTime(Integer usedTime) {
        this.usedTime = usedTime;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getLine() {
        return line;
    }

    public void setLine(String line) {
        this.line = line == null ? null : line.trim();
    }
}